package com.xh.bussiness.exam.bean.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author Pitt Cheung
 * @date 2021/8/18 16:43
 */
@Data
@ApiModel
public class StudentPaperAnswerDto {

    @ApiModelProperty("作答结果id")
    private String studentAnswerId;
    @ApiModelProperty("学生id")
    private String studentId;
    @ApiModelProperty("学生姓名")
    private String studentName;
    @ApiModelProperty("手机号")
    private String mobile;
    @ApiModelProperty("试卷标题")
    private String paperTitle;
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat
    @ApiModelProperty("提交时间")
    private Date submitTime;
    @ApiModelProperty("报告状态（0：未发生；1：已发送）")
    private Integer reportStatus;
    @ApiModelProperty("试卷id")
    private String paperId;
}
